package com.springboot.cloud.demos.entity.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.springboot.cloud.common.web.entity.po.BasePo;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author qjmove
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("t_user_position")
public class UserPosition extends BasePo {

    private String userId;
    private String province;
    private String city;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date loginTime;
    private Double longitude = 0d;
    private Double latitude = 0d;


}
